package com.cty.mapper;


import com.cty.pojo.Employee;

import java.util.List;
import java.util.Map;

public interface EmployeeMapper {

    String  queryNameById(Integer id);

    Employee queryById(Integer id);

    Map<String,Object> queryAverageSalaryAndMaxSalary();

    List<String> queryNameByMaxSalary(Double salary);

    List<Employee> queryAll();

    int insertEmp(Employee employee);

}
